Scrolling Text Script

Below is the script. Place the first part inside the <head> and </head> tags and the second part inside the <body> tag. A demonstration is right below in your status bar. The message can easily be changed.

****If You Can't Get the script to work, drop me a line at [email protected] and I'll see what I can do.****


<SCRIPT language="JavaScript">
<!-- Beginning of JavaScript Applet -------------------
/* Copyright (C)1996 Web Integration Systems, Inc. DBA Websys, Inc.
All Rights Reserved.
This applet can be re-used or modified, if credit is given in
the source code.
We will not be held responsible for any unwanted effects due to the
usage of this applet or any derivative.
No warrantees for usability
for any specific application are given or implied.
Chris Skinner, January 30th, 1996.
Ben Reese -- 3/28/99

*/
function scrollit_r2l(seed)
{
var m1 = " Line one of text ";
var m2 = " Line two of text ";
var m3 = " Line three of text ";
var msg=m1+m2+m3;
var out = " ";
var c = 1;
if (seed > 100) {
seed--;
var cmd="scrollit_r2l(" + seed + ")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 100 && seed > 0) {
for (c=0 ; c < seed ; c++) {
out+=" ";
}
out+=msg;
seed--;
var cmd="scrollit_r2l(" + seed + ")";
window.status=out;
timerTwo=window.setTimeout(cmd,100); }
else if (seed <= 0) {
if (-seed < msg.length) {
out+=msg.substring(-seed,msg.length);
seed--;
var cmd="scrollit_r2l(" + seed + ")";
window.status=out;
timerTwo=window.setTimeout(cmd,100);
}
else {
window.status=" ";
timerTwo=window.setTimeout("scrollit_r2l(100)",75);
}
}}
// -- End of JavaScript code ---------------->
</SCRIPT>

PLACE IN BODY TAG!
onLoad="timerONE=window.setTimeout('scrollit_r2l(10)',100);"